package org.loneranger.leecode;

/**
 * @author LoneRanger
 * @version 1.0
 */
public class lesson1 {
	public static void main(String[] args) {
		System.out.println(algorithm(3));
	}

	static int algorithm(int N) {
		if (N <= 1) {
			return 1;
		}
		return algorithm(N - 1) + 1;
	}

}
